home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
buttons
/
btndmo
/
modbutto.bas
< prev
next >
Wrap
BASIC Source File
|
1995-10-01
|
545b
|
22 lines
Attribute VB_Name = "modButtons"
Option Explicit
#If Win16 Then
Type RECT
Left As Integer
Top As Integer
Right As Integer
Bottom As Integer
End Type
Declare Function PtInRect Lib "User" (lpRect As RECT, ByVal Y%, ByVal X%) As Integer
#ElseIf Win32 Then
Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Declare Function PtInRect Lib "user32" (lpRect As RECT, ByVal X&, ByVal Y&) As Long
#End If